package dao;

import java.util.List;

import idao.ITypesDAO;
import model.Types;

import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class TypesDAO implements ITypesDAO {

	@Autowired
	private SessionFactory sessionFactory;

	public SessionFactory getSessionFactory() {
		return sessionFactory;
	}

	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}

	public TypesDAO() {
		// TODO Auto-generated constructor stub
	}

	public boolean insert(Types types) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean update(Types types) {
		// TODO Auto-generated method stub
		return false;
	}

	public boolean delete(Types types) {
		// TODO Auto-generated method stub
		return false;
	}

	public Types getTypeByID(int ID) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Types> getAll() {
		// TODO Auto-generated method stub
		return null;
	}

}
